#include <bits/stdc++.h>
using namespace std;
int n,i,t,h;
int main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    cin>>t;
    for(h=0;h<t;h++){
        cout<<1<<endl;
    }
    return 0;
}
